package pack3;

public class TV {
    private int channel;

    public TV(int channel) {
        this.channel = channel;
    }

    public TV() {
    }

    public int getChannel() {
        return channel;
    }
    public  void watchChannel(int chan){
        this.channel=chan;
    }
    public  void showProgram(){
        System.out.println("showProgram运行成功");
    }
}
